package org.idtem.component.wordnet.datatypes;

public class DataTypeVariant {
	private Character pos;
	private String offset;  /* pos y offset identifican el Synset al cual pertenecen */
	
	private String word; 	// string
	private int sense;  	// int [1]
	
	private float csco; 	// float
	private char status; 	// char[1]
	
	private DataTypeSynset dataTypeSynset;
	
	public DataTypeVariant(Character _pos, String _offset, String _word, int _sense, float _csco,
			char _status, DataTypeSynset typeSynset) {
		super();
		this.pos = _pos;
		this.offset = _offset;
		this.word = _word;
		this.sense = _sense;
		this.csco = _csco;
		this.status = _status;
		this.dataTypeSynset = typeSynset;
	}
	
	
	public DataTypeVariant(Character _pos, String _offset, String word, int sense, float csco, Character status) {
		super();
		this.pos = _pos;
		this.offset = _offset;
		this.word = word;
		this.sense = sense;
		this.csco = csco;
		this.status = status;
	}
	
	public DataTypeVariant(DataTypeSynset synset, String word, int sense, float csco, char status) {
		super();
		this.pos = synset.getPos();
		this.offset = synset.getOffset();
		this.word = word;
		this.sense = sense;
		this.csco = csco;
		this.status = status;
	}
	
	public DataTypeSynset getSynset()
	{
		if (dataTypeSynset != null)
			return dataTypeSynset;
		
		// martin arreglar esto 
		//DBSpanishWordNetAPI
		return null;	
	}


	public Character getPos() {
		return pos;
	}


	public void setPos(Character _pos) {
		this.pos = _pos;
	}


	public String getOffset() {
		return offset;
	}


	public void setOffset(String _offset) {
		this.offset = _offset;
	}


	public String getWord() {
		return word;
	}


	public void setWord(String _word) {
		this.word = _word;
	}


	public int getSense() {
		return sense;
	}


	public void setSense(int _sense) {
		this.sense = _sense;
	}


	public float get_csco() {
		return csco;
	}


	public void set_csco(float _csco) {
		this.csco = _csco;
	}


	public char get_status() {
		return status;
	}


	public void set_status(char _status) {
		this.status = _status;
	}


	public DataTypeSynset get_dataTypeSynset() {
		return dataTypeSynset;
	}


	public void set_dataTypeSynset(DataTypeSynset typeSynset) {
		dataTypeSynset = typeSynset;
	}
	
	
	
		

}
